#ifndef GDN_IMAGE_H
#define GDN_IMAGE_H

#include <SFML/Graphics.hpp>

#include "gdn/Vector2.h"
#include "gdn/Color.h"

namespace gdn
{
	class Sprite;
	class Window;
	class RenderImage;

	class Image
	{
		public:
			bool LoadFromFile( const std::string& filename );

			Vector2< unsigned int > GetSize() const;

			Color GetPixel( unsigned int x, unsigned int y ) const;

		protected:
			sf::Image image;
			friend class Sprite;
			friend class Window;
			friend class RenderImage;
	};
}

#endif // GDN_IMAGE_H
